<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{app_info.appname}} {{app_info.appversion}}</title>
<link href="/site_media/css/css1.css" rel="stylesheet" type="text/css" />
<link href="/site_media/js/jquery/themes/base/ui.accordion.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/site_media/js/jquery/jquery-1.3.2.js"></script>
<script type="text/javascript" src="/site_media/js/jquery/ui.core.js"></script>
<script type="text/javascript" src="/site_media/js/jquery/ui.accordion.js"></script>
<script type="text/javascript" src="/site_media/js/youthwindow/jquery.myext.js"></script>
<script type="text/javascript" src="/site_media/js/youthwindow/window_src.js"></script>
<link type="text/css" rel="stylesheet" href="/site_media/js/youthwindow/office.css" />
<script language="javascript">
function startclock()
{
var thetime=new Date();
var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var nday=thetime.getDay();
var nmonth=thetime.getMonth();
var ntoday=thetime.getDate();
var nyear=thetime.getYear();
var AorP=" ";
if (nhours>=12)AorP="下午";
else AorP="上午";
if (nhours>=13)nhours-=12;
if (nhours==0)nhours=12;
if (nsecn<10)nsecn="0"+nsecn;
if (nmins<10)nmins="0"+nmins;
if (nday==0)nday="星期天";
if (nday==1)nday="星期一";
if (nday==2)nday="星期二";
if (nday==3)nday="星期三";
if (nday==4)nday="星期四";
if (nday==5)nday="星期五";
if (nday==6)nday="星期六";
nmonth+=1;
if (nyear<=99)nyear= "19"+nyear;
if ((nyear>99) && (nyear<2000))nyear+=1900;
document.getElementById("nt").innerHTML=nyear+"-"+nmonth+"-"+ntoday+"&nbsp;"+nday+"&nbsp;"+AorP+"&nbsp;"+nhours+": "+nmins+": "+nsecn;
setTimeout('startclock()',1000);
} 

function CreateNewWindow(){
			new Dialog({
				draggable: true,
				autosize:true,
				resizable:true,
				maximizable:true,
				autopos:'fixed',
				title:'样式设置'
			}).href('/changeStyle/').show().setSize(300,200).toFront().center();
	}
///////////////////////////////
	$(function() {
	    startclock();
		$("#accordion").accordion({ autoHeight: false ,collapsible: true});
	});
</script>
<style>
div#workspace{
width:100%;
height:486px;
overflow:hidden;
}
div#accordion{
width:100%}
</style>
</head>
{% load filters %}
<body class="nybg">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="73" class="topbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="390" class="topvi"></td>
        <td valign="top" class="topbg2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="38" align="right" valign="top"><table width="160" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="40" class="tophelp" >&nbsp;</td>
                <td align="center"><a href="/help/" class="topzt01">帮助</a></td>
                <td width="40" class="tophelp2">&nbsp;</td>
                <td align="center"><a href="/logout/" class="topzt01">退出</a></td>
              </tr>
            </table></td>
            <td width="40" rowspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td height="30" align="right"><table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" width="150"><a href="javascript:CreateNewWindow()" class="stye" target="_self">样式选择</a></td>
                <td align="center"><span class="zt1">用户：</span><span class="zt2">{{user.fullname}}</span></td>
                <td align="center" width="20"><img src="/site_media/images/s1/zkl_r5_c17.jpg" width="2" height="12" /></td>
                <td align="center"><span class="zt1">身份：</span><span class="zt2">{{user.permissions|permission}}</span></td>
                <td align="center" width="20"><img src="/site_media/images/s1/zkl_r5_c17.jpg" width="2" height="12" /></td>
                <td align="center"><span class="zt2" id="nt">2009-10-13</span></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="15" colspan="5" valign="top"></td>
      </tr>
      <tr>
        <td width="15" valign="top">&nbsp;</td>
        <td width="270" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="bk">
          <tr>
            <td width="4" height="25" class="bkbg1"></td>
            <td class="bkbg2"></td>
            <td width="4" class="bkbg3"></td>
          </tr>
          <tr>
            <td class="bkbg6" width="4"></td>
            <td height="490" valign="top">
            <div id="accordion">
            <h3>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
            <table width="220" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td align="center" class="lefttdbg">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="right"><img src="/site_media/images/s1/letu01.gif" width="30" height="30" align="absmiddle" /></td>
                    <td align="left"><a href="#" class="lezt01">客户资料</a></td>
                  </tr>
                </table>
                </td>
              </tr>
              </table>
             </h3>
             <div>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td width="74%"><a href="/customer/info/list/" target="mainspace" class="lezt02">联系人信息</a></td>
                  </tr>
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="/customer/unit/list/" target="mainspace" class="lezt02">客户单位</a></td>
                  </tr>
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="/customer/source/list/" target="mainspace" class="lezt02">客户来源</a></td>
                  </tr>
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="/customer/type/list/" target="mainspace" class="lezt02">客户分类</a></td>
                  </tr>
                </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
             </div>
             <h3>
            <table width="220" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td align="center" class="lefttdbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="right"><img src="/site_media/images/s1/letu02.gif" width="30" height="30" align="absmiddle" /></td>
                    <td align="left"><a href="#" class="lezt01">市场营销</a></td>
                  </tr>
                </table>
                  　</td>
              </tr></table>
             </h3>
             <div>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td width="74%"><a href="/marketing/income/page-1/" target="mainspace" class="lezt02">来电记录</a></td>
                  </tr>
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="/marketing/call/page-1/" target="mainspace" class="lezt02">去电记录</a></td>
                  </tr>
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="#" target="mainspace" class="lezt02">短信记录</a></td>
                  </tr>
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="#" target="mainspace" class="lezt02">邮件记录</a></td>
                  </tr>
                  <tr>
                    <td height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="#" target="mainspace" class="lezt02">电话回访任务</a></td>
                  </tr>
                  <tr>
                    <td height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="#" target="mainspace" class="lezt02">短信群发任务</a></td>
                  </tr>
                  <tr>
                    <td height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="#" target="mainspace" class="lezt02">邮件群发任务</a></td>
                  </tr>
                  <tr>
                    <td height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="#" target="mainspace" class="lezt02">营销统计</a></td>
                  </tr>
                </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
             </div>
             <h3>
            <table width="220" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td align="center" class="lefttdbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="right"><img src="/site_media/images/s1/letu03.gif" width="30" height="30" align="absmiddle" /></td>
                    <td align="left"><a href="#" class="lezt01">市场分析</a></td>
                  </tr>
                </table>
                  　</td>
              </tr></table>
             </h3>
             <div>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td width="74%"><a href="#" target="mainspace" class="lezt02">调查题管理</a></td>
                  </tr>
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="#" target="mainspace" class="lezt02">调查结果录入</a></td>
                  </tr>
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="#" target="mainspace" class="lezt02">市场动向分析</a></td>
                  </tr>
                </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
             </div>
             <h3>
            <table width="220" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td align="center" class="lefttdbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="right"><img src="/site_media/images/s1/letu04.gif" width="30" height="30" align="absmiddle" /></td>
                    <td align="left"><a href="#" class="lezt01">用户管理</a></td>
                  </tr>
                </table>
                  　</td>
              </tr></table>
             </h3>
             <div>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                  {#%ifequal user.permissions 'A'%#}
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td width="74%"><a href="/users/list" target="mainspace" class="lezt02">用户管理</a></td>
                  </tr>
                  {#%endifequal%#}
                  <tr>
                    <td width="26%" height="36" class="lefttdbg2">&nbsp;</td>
                    <td><a href="/users/myprofile" target="mainspace" class="lezt02">我的资料</a></td>
                  </tr>
                </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
             </div>
              </div></td>
            <td class="bkbg7" width="4"></td>
          </tr>
          <tr>
            <td width="4" height="4" class="bkbg4"></td>
            <td class="bkbg8"></td>
            <td width="4" height="4" class="bkbg5"></td>
          </tr>
        </table></td>
        <td width="18" valign="top">&nbsp;</td>
        <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="bk">
          <tr>
            <td width="4" height="25" class="bkbg1"></td>
            <td class="bkbg2"></td>
            <td width="4" class="bkbg3"></td>
          </tr>
          <tr>
            <td class="bkbg6" width="4"></td>
            <td height="490" valign="top"><div id="workspace"><iframe width="100%" height="486" name="mainspace" id="mainspace" frameborder="0" scrolling="auto" src="{{REFERER|default:'/start/'}}"></iframe></div></td>
            <td class="bkbg7" width="4"></td>
          </tr>
          <tr>
            <td width="4" height="4" class="bkbg4"></td>
            <td class="bkbg8"></td>
            <td width="4" height="4" class="bkbg5"></td>
          </tr>
        </table></td>
        <td width="15" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td height="15" colspan="5" valign="top"></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
